package cn.jbt.config;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class MinioOssConfig {
    @NotBlank(message = "domain 不能为空。")
    private String domain;

    @NotBlank(message = "endpoint 不能为空。")
    private String endpoint;

    @NotBlank(message = "bucketName 不能为空。")
    private String bucketName;

    @NotBlank(message = "accessKey 不能为空。")
    private String accessKey;

    @NotBlank(message = "secretKey 不能为空。")
    private String secretKey;
}
